xen: Move async_exception_* infrastructure into x86
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 13 Feb 2020 12:58:35 +0000 (12:58 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 20 Feb 2020 18:24:51 +0000 (18:24 +0000)
commit740b64debacddc1e0906c42bf0161ed2c667ac96
tree9ad210896dd235bbf236dda793ff84a011b239af
parentb305fca9a7b3d6cd8673c31be8aa8283ed50ecae
xen: Move async_exception_* infrastructure into x86

The async_exception_{state,mask} infrastructure is implemented in common code,
but is limited to x86 because of the VCPU_TRAP_LAST ifdef-ary.

The internals are very x86 specific (and even then, in need of correction),
and won't be of interest to other architectures.  Move it all into x86
specific code.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
16 files changed:
xen/arch/x86/cpu/mcheck/vmce.c
xen/arch/x86/cpu/vpmu.c
xen/arch/x86/domain.c
xen/arch/x86/domctl.c
xen/arch/x86/hvm/irq.c
xen/arch/x86/hvm/vioapic.c
xen/arch/x86/hvm/vlapic.c
xen/arch/x86/nmi.c
xen/arch/x86/oprofile/nmi_int.c
xen/arch/x86/pv/callback.c
xen/arch/x86/pv/iret.c
xen/arch/x86/pv/traps.c
xen/arch/x86/x86_64/asm-offsets.c
xen/common/domain.c
xen/include/asm-x86/domain.h
xen/include/xen/sched.h